package com.hanoi.wiki.manager;

import java.util.List;

import com.hanoi.wiki.exception.FunctionalException;
import com.hanoi.wiki.model.json.UserJson;

public interface UserManager {
	public int save(UserJson user) throws FunctionalException;
	public void update(UserJson user) throws FunctionalException;
	public UserJson get(Integer id) throws FunctionalException;
	public List<UserJson> getList() throws FunctionalException;
	public void remove(Integer id) throws FunctionalException;
	public UserJson getUserByName(String userName) throws FunctionalException;
}
